package oa.hleast.xswl.pojo.domain.chat;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

/**
 * @author: makejava
 * @date: 2021-06-19 11:10:15
 * @description: (CmsChatSession)实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@TableName("cms_chat_session")
public class CmsChatSession extends BaseEntity {
    /**
     * 自动回复中
     */
    public static final Integer REPLY_STATUS_AUTO = 0;
    /**
     * 等待客服介入
     */
    public static final Integer REPLY_STATUS_WAIT = 1;
    /**
     * 客服回复中
     */
    public static final Integer REPLY_STATUS_ARTI = 2;


    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户名称")
    private String userName;


    @ApiModelProperty("回复状态（0:自动回复中 1:等待客服介入 2:客服回复中）")
    private Integer replyStatus;

    @ApiModelProperty("未读条数")
    private Integer unreadNum;
}
